package com.huixue.cn.ztej.dao;

import java.util.List;
import java.util.Map;

import com.huixue.cn.ztej.bean.TClassInfo;
import com.huixue.cn.ztej.utils.annotation.MyBatisRepository;

@MyBatisRepository
public interface TClassInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TClassInfo record);

    int insertSelective(TClassInfo record);

    TClassInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TClassInfo record);

    int updateByPrimaryKey(TClassInfo record);
    
    public List<Map<String,Object>> searchByPage(Map<String,Object> searchParams);
    
    public List<TClassInfo> findAll();
    
    public List<TClassInfo> findBygradeId(int gradeId);
}